package com.guodi.map.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 *
 * @author pwm
 */
@Data
@ApiModel(value="三维场景模块表")
public class ApiMapScene implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "场景名称不能为空")
    @ApiModelProperty(value = "场景名称", required = true)
    private String name;

    @NotBlank(message = "场景编码不能为空")
    @ApiModelProperty(value = "场景编码", required = true)
    private String code;

    @ApiModelProperty(value = "字体图标类名")
    private String icon;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "场景状态（1：启用 ，0：未启用）")
    private String state;

}
